import java.util.Scanner;

public class Exer1 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入第一个数：");
        int num1=input.nextInt();
        System.out.println("请输入第二个数：");
        int num2=input.nextInt();
        int sum=num1+num2;
        int pro=num1*num2;
        int diff=num1-num2;
        int dev=num1/num2;
        int rem=num1%num2;
        System.out.println("两数之和为："+sum);
        System.out.println("两数之差为："+diff);
        System.out.println("两数之积为："+pro);
        System.out.println("两数之商为："+dev);
        System.out.println("两数取余为："+rem);

    }
}
